package com.ty.store.service;

import com.ty.store.entity.User;

/**
 * @author ty
 */
public interface IUserService {
    void reg(User user);
    User login(String username,String password);
    void changePassword(Integer uid,String username,String oldPassword,String newPassword);
    void changeById(Integer uid,String username,User user);
    User getByUid(Integer uid);
    void changeAvatar(Integer uid,String avatar,String username);
}
